package com.ttl.member;

import org.apache.struts.action.ActionForm;

@SuppressWarnings("serial")
public class LoginForm extends ActionForm {
		
	private String userName;
	private String password;
	
	private String warning;
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public void addWarning(String warning) {
		this.warning = "<b><font color=red>รหัสผู้ใช้/รหัสผ่าน ไม่ถูกต้อง!!</font></b><br>"; 
	}
	public String getWarning() {
		return warning;
	}
	public void setWarning(String warning) {
		this.warning = warning;
	}
	
	
}
